/*
 * ApplicationLayeR.h
 *
 *  Created on: Mar 14, 2013
 *      Author: Xi
 */


#ifndef APPLICATIONLAYER_H_
#define APPLICATIONLAYER_H_

#include<string>
#include"DataLinkLayer.h"

using namespace std;

class ApplicationLayer {
public:
    ApplicationLayer();
    virtual ~ApplicationLayer();
    string fromCmd(string, int);
    void toCmd(string, string, int);
    void setCarrier(string);
    void fromPic(char*, int, int);
    void startSendThread();

private:
    DataLinkLayer dl;
    Utilities utl;
};

#endif /* APPLICATIONLAYER_H_ */
